package com.gan.yidademo.common.constant;

/**
 * 日期转字符串格式常量
 *
 * @author gbw
 */
public interface DateFormatConstant {

    String YYYY = "yyyy";

    String YYYY_MM = "yyyy-MM";

    String YYYY_MM_DD = "yyyy-MM-dd";

    String YYYYMMDDHHMMSS = "yyyyMMddHHmmss";

    String YYYY_MM_DD_HH_MM_SS = "yyyy-MM-dd HH:mm:ss";

    String[] parsePatterns = {
            "yyyy-MM-dd", "yyyy-MM-dd HH:mm:ss", "yyyy-MM-dd HH:mm", "yyyy-MM",
            "yyyy/MM/dd", "yyyy/MM/dd HH:mm:ss", "yyyy/MM/dd HH:mm", "yyyy/MM",
            "yyyy.MM.dd", "yyyy.MM.dd HH:mm:ss", "yyyy.MM.dd HH:mm", "yyyy.MM"};


}
